package com.supermap.dubbo.api.cloud.key;

import com.supermap.dataservice.util.JSONUtils;

import java.util.Map;

/**
 * @author aqua
 * @desc
 * @date 2019年07月19 14:37
 * @email 1301584033@qq.com
 */
public interface KeyWordService {
    //查询列表
    JSONUtils getSysKeyWordList(String areaCode,String typeCode,Integer state);
    //获取违规关键字
    Map<String,Object> getKeyWord(String str);
    //删除
    JSONUtils delKeyWord(Integer id);
    //插入待审核列表
    JSONUtils putKeyWord(Integer userId,String typeCode,Integer typeId,String typeTitle,String content,String keyword,String keygroup,String datetime);
    //审核
    JSONUtils upState(Integer keyId,Integer state,String autoContent,String auditorId);
    //修改对应状态
    JSONUtils upKeyWord(String typeCode,Integer typeId,Integer del);
    Integer getLastId();

}
